//
//  UserAppServiceLoginRequest.m
//  littleVideoGo
//
//  Created by WeiWei on 2018/8/9.
//  Copyright © 2018年 Liu. All rights reserved.
//

#import "UserAppServiceLoginRequest.h"

@implementation UserAppServiceLoginRequest

+ (void)goRequestWithUserName:(NSString *)userName password:(NSString *)password success:(Success)success failure:(Failure)failure {
    NSMutableDictionary *parameters = [NSMutableDictionary dictionary];
    parameters[@"method"] = @"UserAppService.login";
    parameters[@"username"] = userName;
    parameters[@"password"] = password;

    [AppBaseRequest POSTWithParameters:parameters success:success failure:failure];
}

@end
